package bb.lanxing.mvp.model.i;

import bb.lanxing.model.database.Workout;
import java.util.List;
import rx.Subscriber;
public interface IWorkoutSyncModel {
    public static final int UPLOAD_TRACK_POINT_SIZE = 200000;
    public static final int VERSION = 1;

    void cancelUpload();

    void getUnUploadWorkout(long j, Subscriber<List<Workout>> subscriber);

    boolean uploadFitWorkout(List<Workout> list, ResultListener<Workout, Workout> resultListener);

    boolean uploadJsonWorkout(List<Workout> list, ResultListener<Workout, Workout> resultListener);

    boolean uploadXossGWorkout(List<Workout> list, ResultListener<Workout, Workout> resultListener);
}
